package com.itheima.service;

import com.itheima.constant.PageResult;
import com.itheima.constant.QueryBean;
import com.itheima.constant.QueryPageBean;
import com.itheima.domain.Setmeal;

import java.util.List;

/**
 * @author Zhang_Han
 * @version 1.0
 * @date 2020/9/27 14:14
 */
public interface SetmealService {
    /*添加数据*/
    void add(Setmeal setmeal, Integer[] checkgroupIds);

    /*分页条件查询*/
    PageResult findPage(QueryBean queryBean);

    /*查询全部*/
    List<Setmeal> findAll();

    /*根据ID查询*/
    Setmeal findById(Integer id);
}
